package edu.tcc.iot.persistence.dao;

import java.sql.SQLException;
import java.util.List;

import edu.tcc.iot.domain.Product;

public interface IProductDAO {

	Product findById(long id) throws SQLException;

	void add(Product product, long shelfId) throws SQLException;

	void update(Product entity) throws SQLException;

	void remove(long id) throws SQLException;

	List<Product> findByShelf(long shelfId) throws SQLException;

	boolean exists(Product product) throws SQLException;

}